<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" language="javascript">
	$(document).ready(function() {
		document.getElementById("verify_url").value = location.href;
		document.getElementById("form").submit();
		if (document.getElementById("verify_url").value != 0) {
			$.get("Restful/rest/dropbox/fileExplorer", function(data) {
				alert("data");
			});
		}

		$.ajax({
			url : "http://localhost:8080/rest/dropbox/fileExplorer",
			type : "GET",
			success : function() {
				alert("success");
			}
		});

	});
</script>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<h1>Insert title here</h1>
	<form action="rest/dropbox/verify" method="post" id="form">
		<input type="text" id="verify_url" name="verify_url" />
	</form>

</body>
</html>